<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>

<script>
    //const 常量声明
    const SCHOOL  = "北大";
     

    //特性1 必须赋值
    // const A;//报错

    //特性2 常量通常使用大写(规范)
    // const a = 100;

    //特性3 常量值不能修改
    SCHOOL = "北大青鸟";

    //特性4 块级作用域
    {
        const NAME = "UZI";
    }
    // console.log(NAME);//报错

    //对于数组和对象元素修改，不算做对常量的修改，不会报错
    const TEAM = ['UZI','MXLG','Ming','Letme'];
    TEAM.push('Meiko');
    



</script>

</html>